export default {
    course_teacher_id: [{ required: true, message: '授课老师不能为空', trigger: 'change' }],
    course_name: [{ required: true, message: '课程名称不能为空', trigger: 'blur' }],
    course_grade: [
      { required: true, message: '课程年级不能为空', trigger: 'blur' },
      // { type: 'number', length: 4, message: '课程年级有四位数值组成', trigger: 'blur' },
      { pattern: /^\d{4}$/, message: '课程年级有四位数值组成', trigger: 'blur' },
    ],
    course_time: [
      { required: true, message: '上课时间不能为空', trigger: 'change' },
      { pattern: /^[1-5]-[0-9]-[1-4]$/, message: '上课时间不能为空', trigger: 'change' },
    ],
    course_location: [],
    course_credit: [],
    course_max_size: [],
    course_exam_date: [],
    course_exam_location: [],
  }
  